package com.meaningful.design_pattern.composite_pattern.expression;

public class MultiplicationExpression extends BinaryOperatorExpression {

    protected MultiplicationExpression(Expression left, Expression right) {
        super(left, right);
    }

    @Override
    public int getValue() {
        return left.getValue() * right.getValue();
    }

}
